/*
 * @ClassName provider_init.dart
 * @Description provider初始化
 * @Author SuPeiSen
 * @Date 2020/7/14 11:14
 */

import 'package:flutter_su/provider/audit_line_provider.dart';
import 'package:flutter_su/provider/language_provider.dart';
import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';

class ProviderInit {
  List<SingleChildWidget> init() {
    return [
      ChangeNotifierProvider<LanguageProvider>(create: (_) => LanguageProvider.init()),
      ChangeNotifierProvider<AuditLineProvider>(create: (_) => AuditLineProvider()),
    ];
  }
}
